package com.sz.biz.logistics.base.service;

import com.sz.biz.logistics.base.entity.AirlineDetail;
import com.sz.biz.logistics.base.dto.AirlineDetailDto;

import java.util.List;

/**
 * Function: AirlineDetailService <br>
 * Author: wentao.chang <br>
 * Date: 2017-08-21 15:47:00
 */
public interface AirlineDetailService {

    void save(List<AirlineDetailDto> airlineDetailDto);

    /**
     * 根据airlineId删除明细
     *
     * @param airlineId airlineId
     */
    void deleteByAirlineId(Integer airlineId);

    /**
     * 根据id查询航班信息
     *
     * @param airlineId airlineId
     * @return AirlineDto
     */
    List<AirlineDetail> findByAirlineId(Integer airlineId);


}
